Skip to main content

ToRawPointer

ToRawPointer[] creates a new pointer object in compiled code, suitable for use with external libraries.

ToRawPointer[val] creates a new object pointing to the initial value val.

ToRawPointer[p,val] stores val in the pointer p.

ToRawPointer[array,offset,val] stores val in the "CArray" array at the given offset.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.